LoginErrorCode enum Null safety
登录结果
调用 RTCVideo.login 登录的结果,会通过 RTCVideoEventHandler.onLoginResult 回调通知用户。
Constants
- codeServerError → const LoginErrorCode
-
登录时服务器发生错误
const LoginErrorCode(4) - invalidToken → const LoginErrorCode
-
Token 无效或过期失效,需要用户重新获取 Token
const LoginErrorCode(1) - invalidUserId → const LoginErrorCode
-
调用 RTCVideo.login 传入的用户 ID 有问题
const LoginErrorCode(3) - loginFailed → const LoginErrorCode
-
发生未知错误导致登录失败,需要重新登录
const LoginErrorCode(2) - success → const LoginErrorCode
-
登录成功
const LoginErrorCode(0) -
values
→ const List<
LoginErrorCode> -
A constant List of the values in this enum, in order of their declaration.
const List<LoginErrorCode>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited